

package org.smallbun.fast.manage.activity.entity;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.google.common.collect.Lists;
import lombok.*;
import lombok.experimental.Accessors;
import org.smallbun.fast.common.entity.DataEntity;
import org.smallbun.fast.manage.menu.entity.SysMenuEntity;
import org.smallbun.fast.manage.org.entity.SysOrgEntity;
import org.smallbun.fast.manage.user.entity.SysUserEntity;
import org.smallbun.framework.base.BaseEntity;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * 角色实体类
 * @author SanLi
 * Created by 2689170096@qq.com on 2018/11/15 20:04
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_activity")
@JsonIgnoreProperties(value = {"handler"})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityEntity extends BaseEntity<Long> {


	@NotBlank(message = "标题不能为空")
	private String caption;

	@NotBlank(message = "内容不能为空")
	private String content;

	private String location;

	private Float lat;

	private Float lng;

	private Date startDate;

	private Date endDate;

	private Integer isFace;

	private Integer isLocation;

	private Integer isPhoto;

	private String photoUrl;

	private Integer isPublish;

}
